const statusList = [
  { id: 0, name: '待上传' },
  { id: 1, name: '待入库' },
  { id: 2, name: '入库失败' },
  { id: 3, name: '已入库' },
  { id: 4, name: '已撤回' }
];
export function statusFilter(id: number) {
  return statusList.find((item) => item.id === id)?.name || '-';
}

const receiveModeList = [
  { id: 0, name: '离线接收' },
  { id: 1, name: '在线接收' }
];
export function receiveFilter(id: number) {
  return receiveModeList.find((item) => item.id === id)?.name || '-';
}
